#include "mainwindowworker.h"
#include "../model/osdremoteservicemodel.h"
#include "../remoteservice/devicestatusinfo.h"
#include "../remoteservice/platfromstatusinfo.h"
#include "../remoteservice/productinfo.h"
#include "../remoteservice/networkinfo.h"
#include "../osdglobal.h"

#define INVALID_INT_DATA    (10)

MainWindowWorker::MainWindowWorker(QObject *parent) :
    QObject(parent)
{
}

void MainWindowWorker::work()
{
    //注册状态
    OSDRemoteServiceModel::instance().deviceRegisterStatus();
    //svc状态
    OSDRemoteServiceModel::instance().svcRegisterStatus();
    //设备状态
//    OSDRemoteServiceModel::instance().deviceUsingStatus();

    OSDRemoteServiceModel::instance().productInfo();

    OSDRemoteServiceModel::instance().networkStatus();
}
